// 转正申请
export const regularChildren = [
    {
        label: '附件',
        formId: 'OssUpload',
        tag: 'OssUpload',
        key: 'OssUpload',
        options: {},
        rules: [
            {
                required: false,
                message: '请选择附件'
            }
        ],
        name: 'file',
        buttonText: '上传文件',
        fileSize: 10,
        sizeUnit: 'MB',
        uploadProps: {
            multiple: true, // 多文件
            dragAble: false, // 是否为拖拽上传
            checkFileSize: 10, // 限制单文件上传最大值，单位为MB
            checkFileType: 'pdf,doc,docx,jpg,jpeg,rar', // 允许上传的文件格式
            maxCount: 10, // 上传的文件个数上限
            help: '支持 pdf、doc、docx、jpg、jpeg、rar 等格式的附件，单个文件大小为10MB以内' // 帮助文案
        },
        tagIcon: 'iconprocess_common_annex_icon1'
    }
];

export const regularControl = {
    label: '转正申请',
    cmpType: 'custom',
    formId: '',
    key: 'RegularApply',
    tag: 'RegularApply',
    tagIcon: 'iconprocess_common_supplementcard_icon',
    formStyle: true,
    children: regularChildren,
    proCondition: true
};
